package com.UnionPayCenter.mapper;

import com.UnionPayCenter.account.entity.AccountType;

import java.util.List;

public interface AccountTypeMapper {
    int deleteByPrimaryKey(Long accountTypeId);

    int insert(AccountType record);

    int insertSelective(AccountType record);

    AccountType selectByPrimaryKey(Long accountTypeId);

    /**
     * 根据商户Id查询账户类型
     *
     * @param shopId 店铺Id
     * @return 店铺中设置的账户类型
     */
    List<AccountType> selectByMerchantId(Integer shopId);

    int updateByPrimaryKeySelective(AccountType record);

    int updateByPrimaryKey(AccountType record);
}